
<form action="<?= base_url() . ADMIN_FOLDER ?>/<?= get_segment(2) ?>/edit/<?=$result->id?>" method="post" class="fill-up"  enctype="multipart/form-data">
    <div class="row-fluid">
        <div class="span12">
            <div  class="box">
                <div class="tab-header icon-cog"> <?=lang('label_edit')?></div>

                <div id='data_contant' class="padded">


                    <div class="row-fluid">
                        <div class="span6" style="margin-left: 6%;">

                    
          



                            <div class="input">
                                <label for="title">
                                    <?=lang('label_title')?>
                                </label>

                                <?php echo form_error('title', '<div class="form_error">', '</div>'); ?>
                                <input name="title" placeholder="<?=lang('label_title')?>" value="<?= set_value('title', $result->title) ?>"  type="text" />

                            </div>

                            <div class="input">
                                <label for="owner">
                                    <?=lang('label_payment-owner')?>
                                </label>
                                <?php echo form_error('owner', '<div class="form_error">', '</div>'); ?>
                                <input name="owner" placeholder="<?=lang('label_payment-owner')?>" value="<?= set_value('owner', $result->owner) ?>"  type="text" />
                            </div>
                            <div class="input">
                                <label for="number">
                                    <?=lang('label_payment-number')?>
                                </label>
                                <?php echo form_error('number', '<div class="form_error">', '</div>'); ?>
                                <input name="number" placeholder="<?=lang('label_payment-number')?>" value="<?= set_value('number', $result->number) ?>"  type="text" />
                            </div>
                            <div class="input">
                                <label for="iban">
                                    <?=lang('label_payment-iban')?>
                                </label>
                                <?php echo form_error('iban', '<div class="form_error">', '</div>'); ?>
                                <input name="iban" placeholder="<?=lang('label_payment-iban')?>" value="<?= set_value('iban', $result->iban) ?>"  type="text" />
                            </div>

                            <div class="input">
                                <label for="file">
                                    <?=lang('label_image')?>
                                </label>
                                <?php echo form_error('file', '<div class="form_error">', '</div>'); ?>
                                <input name="file" placeholder="{File}"  type="file" />
                                <span title="<img src='<?= base_url() . PAYMENT_PATH . $result->file ?>' style='max-width:300px;' />" class="tip icon-camera" style="font-size:25px;margin-right: 300px;"></span>
                                <input type="hidden" name="oldfile" value="<?= $result->file ?>" />
                                
                            </div>

                        </div>

                    </div>
                    <div class="form-actions form-actionss">

                        <button type="submit"><i class=" icon-pencil" ></i>   <?=lang('label_edit')?></button>

                    </div>



                </div>
            </div>
        </div>
    </div>


</form>
